package com.wo.cloud.log.feign;

import com.wo.cloud.core.entity.Response;
import com.wo.cloud.core.entity.CommonLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * 普通日志生产消息调用
 *
 * @author liry
 */

//@FeignClient(value = "wocloud-mq-log")
public interface ICommonLogProvider {

    /**
     * 向消息中心发送消息
     *
     * @param commonLog 普通日志
     * @return 状态
     */
//    @PostMapping("/provider/common-log/send")
    Response sendCommonLog(CommonLog commonLog);
}
